<template>
  <div class="login-btn">
      <van-button color="linear-gradient(to right, #ff6034, #ee0a24)" style="width:100%" :disabled="!current" @click="handleclick">
 {{btntext}}
</van-button>
  </div>
</template>

<script>
export default {
data(){
    return{

    }

},
methods:{
    handleclick(){
        this.$emit("onemit")
    }
},
 props:['current','btntext'],

}
</script>

<style lang="less" scoped>
.login-btn{
    margin-top: 20px;
    padding: 0 20px;
}
</style>